
export abstract class TreeNode<T extends IGameEntity=IGameEntity>
{
     
    protected getNodeMemory<U extends IBTCompositeMemory>(SearchData:IBehaviorTreeSearchData<T>):U
    {
        return SearchData.owner.getNodeMemory<U>();
    }
 
}

export  abstract class BehaviorNode<T  extends IGameEntity> extends TreeNode<T>
{
    // abstract execute(blackboard:T):BT_BEHAVIOR_CODE;
    // Decorates
}

 